package com.example.cdctest.service;

import com.example.cdctest.pojo.Admin;
import com.example.cdctest.pojo.Notice;

import java.util.List;

public interface NoticeService extends CommonService<Notice> {

    //根据公告信息的标题,公告信息的封面,具体的公告信息添加公告
    void insertNoticeMessage(String title, String content, String image, Admin admin);

    //前台首页请求，取出后台配置数量的公告信息
    List<Notice> findAllServicesNotice(Integer noticeCount);

}
